package com.orange.bean.rebangTody.dto.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * TODO
 *
 * @Author YWF
 * @Date 2025/9/3 22:30
 */
@Data
@ToString
public class HotNewsDto {
    private int currentPage;
    private int totalPage;
    private List<News> list;

    @Data
    @ToString
    public static class News {

        @JsonProperty("item_key")
        private String ids;

        private String title;
        private String desc;

        @JsonProperty("tab_key")
        private String type;

        private String typeN;

        @JsonProperty("www_url")
        private String detailUrl;

        @JsonProperty("heat_num")
        private String hotNum;

    }
}
